package com.it.service.impl;



import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.it.mapper.UserMapper;
import com.it.pojo.User;
import com.it.service.UserService;
import org.springframework.stereotype.Service;


@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
//    @Autowired
//    private UserMapper userMapper;
//    public String fetchDataFromDatabase(User user){
//        List<User> users = userMapper.selectList(user);
//        Gson gson = new Gson();
//        String json = gson.toJson(users);
//        return json;
//    }
}
